class AddAdminUserIndicatorToUserTable < ActiveRecord::Migration
  def self.up
    add_column :users, :is_admin, :boolean, :null => false
    User.find(:all).each do |user|
      user.is_admin = false
      user.save
    end
  end

  def self.down
    remove_column :users, :is_admin
  end
end
